<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改假勤奖惩规则')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-multiple-edit" th:object="${sysRuleMultiple}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <!--<label class="col-sm-3 control-label">租户编号：</label>-->
                <div class="col-sm-8">
                    <input name="tenantId" th:field="*{tenantId}" class="form-control" type="hidden">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">加班工资倍数：</label>
                <div class="col-sm-8">
                    <input name="normalDayOverWork" th:field="*{normalDayOverWork}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">周末加班倍数：</label>
                <div class="col-sm-8">
                    <input name="weekEndOverOver" th:field="*{weekEndOverOver}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">节假日加班倍数：</label>
                <div class="col-sm-8">
                    <input name="holidayOverWork" th:field="*{holidayOverWork}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">迟到扣款数：</label>
                <div class="col-sm-8">
                    <input name="later" th:field="*{later}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">早退扣款：</label>
                <div class="col-sm-8">
                    <input name="earlyLeave" th:field="*{earlyLeave}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">旷工扣款：</label>
                <div class="col-sm-8">
                    <input name="absent" th:field="*{absent}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">事假扣款倍数：</label>
                <div class="col-sm-8">
                    <input name="thingLeave" th:field="*{thingLeave}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">病假扣款倍数：</label>
                <div class="col-sm-8">
                    <input name="sickLeave" th:field="*{sickLeave}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/multiple";
        $("#form-multiple-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-multiple-edit').serialize());
            }
        }
    </script>
</body>
</html>